package com.ryan.order.feignclient;

import com.ryan.utils.vo.OrderMember;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "member-service")
@Component
public interface MemberClient {

    @GetMapping("/ucenter/getOrderMemberById/{id}")
    public OrderMember getOrderMemberById(@PathVariable("id") String id);

}
